<!DOCTYPE html>
<html>
<#include "../../include/resource.html">
<body>
	<#assign nid="member"> <#include
	"../../include/header.html">
	<!--header-end-->
	<!--用户中心的主栏目 开始-->
	<div id="main" class="clearfix">
		<div class="wrap950 " style="margin-top:0">
			<!--左边的导航 开始-->
			<div class="user_left">
					<#assign mid="m_identify" >
			<#include "../user_menu.html"></div>
			<!--左边的导航 结束-->

			<!--右边的内容 开始-->
			<div class="user_right">
				<div class="user_right_menu">
					<ul id="tab" class="list-tab clearfix">
						<li class="active"><a href="###" data-toggle="tab">证明材料</a>
						</li>
						<li><a href="###" data-toggle="tab">资料上传</a>
						</li>
						<!--  
							<li><a href="#attestation_more" data-toggle="tab">多个资料上传</a></li>
						-->
						<li><a
							href="${request.getContextPath()}/member/identify/realname.html">返回认证中心</a>
						</li>
					</ul>
				</div>

				<!--收件箱 开始-->
				<div class="user_right_main">
					<div id="myTabContent" class="tab-content">
						<div class="list-tab-con tab-pane fade in active" id="attestation">
							<table border="0" cellspacing="0"
								class="table table-striped  table-condensed">
								<tr class="head">
									<td>说明信息</td>
									<td>资料类型</td>
									<td>上传时间</td>
									<td>审核时间</td>
									<td>审核说明</td>
									<td>积分</td>
									<td>状态</td>
									<td>操作</td>
								</tr>
								<#list  attestations as item>
								<tr>
									<td>${(item.name)?default("-")}</td>
									<td>${(item.type_name)?default("-")}</td>
									<td>${(dateformat(item.addtime))?default("-")}</td>
									<td>${(dateformat(item.verify_time))?default("-")}</td>
									<td>${(item.verify_remark)?default("-")}</td>
									<td>${(item.jifen)?default("0")} 分</td>
									<td>
										<#if item.status==0>
											未审核
										<#elseif item.status=2>
											审核失败
										<#else>
											已审核
										</#if>
									</td>
									<td>
                                    <a href="${webroot}/${item.litpic!}" target="_blank">查看</a></td>
								</tr>
								</#list>
								<tr>
								<!--  
									<td colspan="11" class="page">共1条 <span class="">首页</span>
										<span class="">上一页</span> <span class="">下一页</span> <span
										class="">尾页</span></td>
								-->
								</tr>
							</table>
						</div>
						<!-- 单个文件上传的Tab -->
						<div class="list-tab-con tab-pane" id="attestation_one">
							<form action="attestation.html" name="form1" method="post" onsubmit="return check_form();" enctype="multipart/form-data">
								<div class="user_help alert">
									<font color="#FF0000">*</font> 必须是本人的真实、有效资料
								</div>
								<div class="user_right_border">
									<div class="l">资料上传：</div>
									<div class="c">
										<input type="file" name="litpic" /> 上传最大的图片为1M，上传的格式为jpg.gif
									</div>
								</div>
								<div class="user_right_border">
									<div class="l">上传类型：</div>
									<div class="c">
									    <@attestation name="type_id" id="type_id"></@attestation>
									</div>
								</div>
								<div class="user_right_border">
									<div class="l">备注说明：</div>
									<div class="c">
										<textarea cols="50" rows="5" name="name"></textarea>
									</div>
								</div>

								<div class="user_right_border">
									<div class="l" style="font-weight:bold; float:left;">验证码：</div>
									<div class="c" style="width:250px;">
										<input name="validcode" type="text" size="11" maxlength="5"
											tabindex="3" style="float:left;" />&nbsp;
										<img src="${webroot}/validimg.html" alt="点击刷新"
											 onClick="this.src='${webroot}/validimg.html?t=' + Math.random();"
											 align="absmiddle" style="cursor: pointer;float:left;display:inline-block;zoom:1;*display:inline;*float:none;" />
									</div>
								</div>
								<div class="user_right_border">
									<div class="e"></div>
									<div class="c">
										<input type="hidden" name="type" value="1" />
										<input type="submit" class="btn-action" value="确认提交" size="30" />
										<input type="hidden" name="actionType" value="attestation">
									</div>
								</div>
							</form>
						</div>
						<div class="list-tab-con tab-pane"></div>
						<!--  
						<div class="list-tab-con tab-pane fade" id="attestation_more">
							多个文件上传
						</div>
						-->
						<!--收件箱 结束-->
					</div>
				</div>
			</div>
			<!--右边的内容 结束-->
		</div>
	</div>
    <script>
	$(function(){
    	$("#main").tabChange({isClick:true,childLi:"#tab li",childContent:"#myTabContent .list-tab-con",hoverClassName:"active"});
	})	
    </script>
	<!--用户中心的主栏目 结束-->
	<script src="${request.getContextPath()}${theme_dir}/media/js/modal.js"></script>
	<#include "../../include/footer.html">
</body>
</html>